package pl.edu.pw.polygen.modeler.client.object;

import pl.edu.pw.polygen.modeler.client.workspace.IWorkspace;

public class Hole extends Vertex{

	private static String DEFAULT_COLOR = "black";
	private static String HOVER_COLOR = "brown";
	private static String SELECTED_COLOR = "yellow";
	
	public Hole(int x, int y, IWorkspace workspace) {
		super(x, y, workspace,VertexType.HOLE_VERTEX);
	}

	@Override
	public void hold() {
		super.hold();
		setFillColor(HOVER_COLOR);
	}

	@Override
	public void drop() {
		super.drop();
		setFillColor(DEFAULT_COLOR);
	}

	@Override
	public void select() {
		super.select();
		setFillColor(SELECTED_COLOR);
	}

	@Override
	public void unselect() {
		super.unselect();
		setFillColor(DEFAULT_COLOR);
	}
	
	



}
